import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import ElementUI from "element-ui";  //引入elementUI的html、js
import "element-ui/lib/theme-chalk/index.css";  //引入element的css
import md5 from 'js-md5' //单向加密
Vue.prototype.$md5 = md5


// 启用elementUI插件
Vue.use(ElementUI)

import './permission' //路由守卫

Vue.config.productionTip = process.env.NODE_ENV == 'production';//false:有警告(开发过程要警告：方便调试)

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount("#app");
